mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-10-06 19:59:42 +07:00
add incrementation migration logic (#4)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[common]
|
||||
RuntimePath=/var/run/casaos
|
||||
|
||||
[app]
|
||||
LogPath = /var/log/casaos
|
||||
LogSaveName = user-service
|
||||
LogFileExt = log
|
||||
DBPath = /var/lib/casaos
|
||||
UserDataPath = /var/lib/casaos
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
After=casaos-gateway.service
|
||||
ConditionFileNotEmpty=/etc/casaos/user-service.conf
|
||||
Description=CasaOS User Service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/casaos-user-service -c /etc/casaos/user-service.conf
|
||||
PIDFile=/var/run/casaos/user-service.pid
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user