summarylogtreecommitdiffstats
path: root/casdoor.service
blob: 73857ad19f7a12648c2410256fe20f9f3b753756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Casdoor IAM
After=network.target multi-user.target mariadb.service
Wants=network.target multi-user.target

[Service]
RestartSec=2s
Type=simple
User=casdoor
WorkingDirectory=/var/lib/casdoor
ExecStart=/usr/bin/casdoor
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target