Jump to content

systemd folder cannot be found, is it okay to just make one??

I am trying to set up imwheel on my machine as a service, inside archwiki, it said create a system service using systemd. 

~/.config/systemd/user/imwheel.service

But inside my config folder does not have a systemd folder. I used this to check its version and here is the output.

systemctl --version
systemd 249 (249.11-0ubuntu3.6)
+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified

so it means that my system does come with systemd right? 

 

So my question is, is it okay for me to just create a systemd folder and add some services to it???? 

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

You can just create the directory

mkdir -p ~/.config/systemd/user

You can also do

systemctl edit --force --full --user imwheel.service

 

 

Just don't forget the user flag when enabling the unit file.

systemctl enable --user imwheel.service
Edited by Nayr438
Mention user flag
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×