vanity/contrib/vanity.service

19 lines
330 B
INI
Raw Permalink Normal View History

[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