You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/scripts/systemd/paopao.service

18 lines
338 B

[Unit]
Description=paopao-ce
After=syslog.target
After=network.target
After=mariadb.service mysqld.service redis.service
[Service]
Type=simple
User=paopao
Group=paopao
WorkingDirectory=/home/paopao/app
ExecStart=/home/paopao/app/paopao serve
Restart=always
Environment=USER=paopao HOME=/home/paopao
[Install]
WantedBy=multi-user.target