dotfiles/etc/systemd/system/<service>.service
2021-09-23 16:21:20 +03:00

18 lines
353 B
Desktop File

[Unit]
Description=<DESCRIPTION>
After=network.target
[Service]
Type=simple
User=<username>
Group=<user_group>
ExecStart=<full_path_to_executor> <full_path_to_script>
ExecReload=<full_path_to_executor> <full_path_to_script>
WorkingDirectory=<full_path_to_executor_dir>
KillMode=process
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target