diff --git a/scripts/template.service b/scripts/template.service index 988e46e..50c167b 100644 --- a/scripts/template.service +++ b/scripts/template.service @@ -5,17 +5,8 @@ After=network.target [Service] EnvironmentFile=-/etc/{{ PACKAGE_NAME }}/env Type=simple -# Another Type: forking -#User=nanodano -#WorkingDirectory=/home/nanodano ExecStart={{ PROGRAM }} $OPTS Restart=on-failure -# Other restart options: always, on-abort, etc -# The install section is needed to use -# `systemctl enable` to start on boot -# For a user service that you want to enable -# and start automatically, use `default.target` -# For system level services, use `multi-user.target` [Install] WantedBy=multi-user.target