21 lines
368 B
INI
21 lines
368 B
INI
[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
|
|
Restart=always
|
|
|
|
# Required
|
|
Environment=VANITY_BASE_URL=
|
|
Environment=VANITY_NAMESPACE=
|
|
Environment=VANITY_TOKEN=
|
|
Environment=VANITY_DOMAIN=
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |