summarylogtreecommitdiffstats
path: root/wg-manager.service
blob: 4f2524ebd9867442ddb6ee206126fa2bdf13bedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=WireGuard Manager
After=syslog.target
After=network.target

[Service]
Type=simple
Environment=ADMIN_USERNAME=admin
Environment=ADMIN_PASSWORD=password
WorkingDirectory=/opt/wg-manager
ExecStart=uvicorn main:app
Restart=always

[Install]
WantedBy=multi-user.target