新月の開発

966767be :Anonymous 2013-07-14 17:31
systemd用にsaku.service書いたんで置いとくよー。随時書き換えて使ってちょんまげ

[Unit]
Description=P2P anonymous bbs
After=network.target

[Service]
User=saku
Group=saku
Type=forking
ExecStart=/bin/sh -c "cd /usr/saku/ &&./saku.py &"

[Install]
WantedBy=multi-user.target
Powered by shinGETsu.