system/systemd/duckbot.service
Pratyush Desai 548ac2032c
add duckbot (CloudBot) unit file.
Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-06-13 04:06:45 +05:30

20 lines
392 B
Desktop File

[Unit]
Description=CloudBot (duckbot)
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/duckbot/CloudBot
ExecStart=/opt/duckbot/venv/bin/python -m cloudbot
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=duckbot
Group=duckbot
SyslogIdentifier=duckbot
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=/opt/duckbot/CloudBot
[Install]
WantedBy=multi-user.target