diff --git a/cal.service b/cal.service index 46e013fdcb15cbefd7642e0b88e5b0531b44559f..19786befc5c42eea6a4afd5246d14ed6c3d250db 100644 --- a/cal.service +++ b/cal.service @@ -6,11 +6,9 @@ After=network-online.target [Service] User=nobody Type=simple -StandardOutput=null -StandardError=null -Restart=no WorkingDirectory=/usr/local/share/cal ExecStart=/bin/bash -l -c 'source bin/activate;./server' +Restart=always [Install] -WantedBy=multi-user.target +WantedBy=default.target