16 lines
345 B
SYSTEMD
16 lines
345 B
SYSTEMD
[Unit]
|
|
Description=GocustomUrls. A custom url mapper for go packages!
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/var/lib/$MYUSER
|
|
Type=simple
|
|
User=$MYUSER
|
|
Group=$MYUSER
|
|
ExecStart=/usr/local/bin/gocustomurls -conf /var/lib/$MYUSER/config.json
|
|
SyslogIdentifier=gocustomurls
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|