vanity/vanity.service

16 lines
299 B
INI
Raw Normal View History

[Unit]
Description=Vanity Go Imports
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=vanity
Group=vanity
ExecStart=/usr/local/bin/vanity server -p 7777
Restart=always
Environment=USER=vanity HOME=/var/lib/vanity
[Install]
WantedBy=multi-user.target