Last active 1 week ago

example.service Raw
1[Unit]
2Description=description of the service
3After=network.target
4
5[Service]
6User=specific user for this service
7Group=specific user for this service
8WorkingDirectory=directory from which to run the service
9Environment="PATH=/…/venv/bin" # if it’s being run in a venv
10ExecStart=command to run the service
11Restart=on-failure
12
13[Install]
14WantedBy=multi-user.target