mirror of
https://github.com/sascha-hemi/spaceDevices.git
synced 2026-03-21 03:04:20 +01:00
adds systemd service file and gimp file for example
This commit is contained in:
BIN
extras/example.xcf
Normal file
BIN
extras/example.xcf
Normal file
Binary file not shown.
20
extras/spaceDevicesGo.service
Normal file
20
extras/spaceDevicesGo.service
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=spaceDevicesGo
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=<Insert User>
|
||||||
|
Group=<Insert User>
|
||||||
|
Environment="GIN_MODE=release"
|
||||||
|
WorkingDirectory=<Change>
|
||||||
|
ExecStart=<Change>/spaceDevices
|
||||||
|
Restart=always
|
||||||
|
RestartSec=60
|
||||||
|
|
||||||
|
# Give a reasonable amount of time for the server to start up/shut down
|
||||||
|
TimeoutSec=60
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user