Changed project named from adept to zealot
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=Adept video transcoder service
|
||||
Description=Zealot video transcoder service
|
||||
|
||||
[Service]
|
||||
User=adept
|
||||
Group=adept
|
||||
ExecStart=/usr/bin/adept
|
||||
User=zealot
|
||||
Group=zealot
|
||||
ExecStart=/usr/bin/zealot
|
||||
SuccessExitStatus=143
|
||||
|
||||
[Install]
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This example transcodes footage to DNxHD 1080p60 for use in video editors like DaVinci Resolve.
|
||||
[transcoder]
|
||||
repository = "~/adept" # location of the videos to transcode
|
||||
repository = "~/zealot" # location of the videos to transcode
|
||||
interval = 15
|
||||
video_format = "mov" # video container format
|
||||
video_codec = "dnxhd" # video codec to use
|
||||
|
@ -1,25 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
GETENT_USER=$(getent passwd adept)
|
||||
GETENT_GROUP=$(getent group adept)
|
||||
GETENT_USER=$(getent passwd zealot)
|
||||
GETENT_GROUP=$(getent group zealot)
|
||||
|
||||
# Create the adept user if it doesn't already exist
|
||||
# Create the zealot user if it doesn't already exist
|
||||
if [ "$GETENT_USER" = "" ]; then
|
||||
useradd -r adept
|
||||
useradd -r zealot
|
||||
else
|
||||
echo "The 'adept' user already exists, skipping creation."
|
||||
echo "The 'zealot' user already exists, skipping creation."
|
||||
fi
|
||||
|
||||
# Create the adept group if it doesn't already exist
|
||||
# Create the zealot group if it doesn't already exist
|
||||
if [ "$GETENT_GROUP" = "" ]; then
|
||||
groupadd adept
|
||||
usermod -aG adept adept
|
||||
groupadd zealot
|
||||
usermod -aG zealot zealot
|
||||
else
|
||||
echo "The 'adept' group already exists, skipping creation."
|
||||
echo "The 'zealot' group already exists, skipping creation."
|
||||
fi
|
||||
|
||||
# Change the directory ownership of /etc
|
||||
chown -R adept:adept /etc/adept
|
||||
chown -R zealot:zealot /etc/zealot
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
|
Reference in New Issue
Block a user