Bottom of this page.
|
<<last
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-
531c8a5e
anonymous
2015-04-21 21:48
- こんな systemd のユーザーサービスファイル書いて走らせてる。
[Unit]
Description=saku
[Service]
ExecStart=/bin/sh -c "cd /home/saku/saku/; /usr/bin/python /home/saku/saku/saku.py -v"
ExecReload=/bin/sh -c "cd /home/saku/saku/; /usr/bin/python /home/saku/saku/saku.py -v"
KillMode=control-group
Restart=on-failure
RestartSec=42s
Type=simple
[Install]
WantedBy=default.target
Top of this page.
|
<<last
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(Linux/1462/5.8MB)