blob: 214d90f29959e8e92b117b8ef55e6a8cdfd4bd37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=Add analysis to SGF files using KataGo
Requires=network-online.target
After=network-online.target
[Service]
User=katago-analyze-sgf
Restart=on-failure
EnvironmentFile=-/etc/conf.d/katago-analyze-sgf
WorkingDirectory=~
ExecStart=/usr/bin/katago-analyze-sgf-daemon $KATAGO_ANALYSIS_CONFIG_PATH --katago-path $KATAGO_PATH --port $KATAGO_ANALYZE_SGF_PORT --source-dir $KATAGO_ANALYZE_SGF_SOURCE_DIR --destination-dir $KATAGO_ANALYZE_SGF_DESTINATION_DIR
ExecReload=/bin/kill -HUP $MAINPID
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|