diff options
| author | lost+skunk <[email protected]> | 2024-08-01 22:48:05 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-08-01 22:48:05 +0300 |
| commit | c5514c3875b9b782688047d547dfd6663a5b77bb (patch) | |
| tree | e9b8dc3f90aa6b09b8f5006f1e4d16e2bf4718c3 /services/skunkyart.example.openrc | |
| parent | 2dfeaae772e630ae361a35bf4680257d081560c1 (diff) | |
| download | skunky-art-c5514c3875b9b782688047d547dfd6663a5b77bb.tar.gz skunky-art-c5514c3875b9b782688047d547dfd6663a5b77bb.tar.bz2 skunky-art-c5514c3875b9b782688047d547dfd6663a5b77bb.zip | |
v1.3
Diffstat (limited to 'services/skunkyart.example.openrc')
| -rwxr-xr-x | services/skunkyart.example.openrc | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/services/skunkyart.example.openrc b/services/skunkyart.example.openrc index d89d5b2..9309251 100755 --- a/services/skunkyart.example.openrc +++ b/services/skunkyart.example.openrc @@ -1,13 +1,20 @@ #!/sbin/openrc-run - -directory=<path_to_dir_with_skunkyart> -# command_args="-c $directory/config.json" # if SA wasn't start, try to uncomment this line -command=$directory/skunkyart - -name="SkunkyArt" -description="Privacy frontend for deviantart.com" supervisor=supervise-daemon +user=skunkyart:skunkyart +name=SkunkyArt +directory=/opt/skunkyart +command=$directory/bin/skunkyart +description="Privacy-oriented frontend for DeviantArt" +error_logger=logger +output_logger=logger +no_new_privs=true +umask=0077 + +# if you use old version openrc, uncomment function lower +# start_pre() { +# cd $directory +# } depend() { - need net + need net localmount bootmisc }
\ No newline at end of file |
