This commit is contained in:
lost+skunk 2024-08-01 22:48:05 +03:00
parent 2dfeaae772
commit c5514c3875
23 changed files with 445 additions and 249 deletions

View file

@ -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
}

View file

@ -1,7 +1,7 @@
# Note: i didn't use systemd, so it can be not works :)
[Unit]
Description=Privacy frontend for deviantart.com
Description=Privacy-oriented frontend for DeviantArt
[Service]
Directory=<path-to-dir-with-skunkyart>