This commit is contained in:
16
systemd/systemd-user/couchd.service
Normal file
16
systemd/systemd-user/couchd.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=CouchOS control daemon
|
||||
After=graphical-session.target network-online.target
|
||||
Wants=graphical-session.target network-online.target
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/couch/couchos
|
||||
Environment=PYTHONPATH=/home/couch/couchos/src
|
||||
ExecStart=/usr/bin/python3 -m couchd --config /home/couch/.config/couchd/runtime.json serve
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Reference in New Issue
Block a user