mirror of
https://github.com/idanoo/GoCatFacts
synced 2025-07-01 14:52:15 +00:00
17 lines
No EOL
303 B
Desktop File
17 lines
No EOL
303 B
Desktop File
[Unit]
|
|
Description=GoCatFacts
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/root/GoCatFacts
|
|
ExecStart=/usr/local/go/bin/go run main.go
|
|
Environment="GOCACHE=/tmp/gocatfacts"
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |