forked from pool/boinc-client
ca8030fcc5
do not build manager for sles, some reverts and fixes OBS-URL: https://build.opensuse.org/request/show/460328 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=54
22 lines
744 B
Desktop File
22 lines
744 B
Desktop File
[Unit]
|
|
Description=Berkeley Open Infrastructure Network Computing Client
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/boinc-client
|
|
Nice=10
|
|
User=boinc
|
|
CPUSchedulingPolicy=batch
|
|
Slice=background.slice
|
|
PermissionsStartOnly=yes
|
|
### boinc logs (with --redirectio) to stdoutdae.txt and stderrdae.txt
|
|
#ExecStartPre=/bin/sleep 1
|
|
#ExecStartPre=/usr/bin/touch /var/log/boinc-client.log /var/log/boinc-client.err.log
|
|
#ExecStartPre=/usr/bin/chown $BOINC_BOINC_USR:$BOINC_BOINC_GRP /var/log/boinc-client.log /var/log/boinc-client.err.log
|
|
ExecStart=/usr/bin/boinc --dir $BOINC_BOINC_DIR $BOINC_BOINC_OPTS
|
|
ExecReload=/usr/bin/boinccmd --read_cc_config
|
|
ExecStopPost=/bin/rm -f $BOINC_BOINC_DIR/lockfile
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|