17 lines
340 B
Plaintext
17 lines
340 B
Plaintext
[Unit]
|
|
Description=ControlDeck
|
|
ConditionFileIsExecutable=%h/.local/bin/controldeck
|
|
After=network.target
|
|
|
|
[Service]
|
|
Environment=PYTHONUNBUFFERED=1
|
|
TimeoutStartSec=30
|
|
ExecStartPre=/bin/sh -c 'source /etc/profile'
|
|
ExecStart=%h/.local/bin/controldeck -D
|
|
Restart=on-failure
|
|
RestartSec=4
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
WantedBy=default.target
|