2020-02-21 04:39:03 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Vanity Go Imports
|
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
RestartSec=2s
|
|
|
|
Type=simple
|
|
|
|
User=vanity
|
|
|
|
Group=vanity
|
2020-09-12 15:23:25 +00:00
|
|
|
ExecStart=/usr/local/bin/vanity
|
2020-02-21 04:39:03 +00:00
|
|
|
Restart=always
|
2020-09-12 15:23:25 +00:00
|
|
|
|
|
|
|
# Required
|
|
|
|
Environment=VANITY_BASE_URL=
|
|
|
|
Environment=VANITY_NAMESPACE=
|
|
|
|
Environment=VANITY_TOKEN=
|
|
|
|
Environment=VANITY_DOMAIN=
|
2020-02-21 04:39:03 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|