19 lines
330 B
INI
19 lines
330 B
INI
|
[Unit]
|
||
|
Description=Vanity Go Imports
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
RestartSec=2s
|
||
|
Type=simple
|
||
|
User=vanity
|
||
|
Group=vanity
|
||
|
ExecStart=${bin} server
|
||
|
Restart=always
|
||
|
|
||
|
# Required
|
||
|
Environment=VANITY_TOKEN=${VANITY_TOKEN}
|
||
|
Environment=VANITY_DOMAIN=${VANITY_DOMAIN}
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|